package com.alibaba.citrus.cr.sales.plan.repository.request;

import com.alibaba.citrus.cr.sales.plan.model.enums.SalesPlanModelEnum;
import com.alibaba.citrus.cr.sales.plan.model.enums.SalesPlanStatusEnum;
import com.alibaba.cz.base.tool.page.PageRequest;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author luyi
 * @date 2021/10/25 4:53 下午
 */
@Getter
@Setter
public class PageQueryPlanScItemExtendRepoRequest extends PageRequest {

    private static final long serialVersionUID = -7715502986425372819L;
    /**
     * 计划ID
     */
    private String planId;

    /**
     * 汇总类型2：货品维度3：组织维度4：类目维度
     */
    private Integer poolType;

    /**
     * @see SalesPlanModelEnum
     */
    private Integer model;

    private String modelId;

    /**
     * 父级ID
     */
    private String parentId;

    /**
     * 货品ID
     */
    private String scItemId;

    private List<String> scItemIdList;

    /**
     * 类目叶子节点ID
     */
    private String scItemLeafCategoryId;

    private List<String> scItemLeafCategoryIdList;

    /**
     * 1：业务员货品汇总 2：销售部门货品汇总 3：销售渠道货品汇总 4：销售组织货品汇总 5：业务单元货品汇总
     */
    private Integer bizType;

    private String subTotalBizId;

    private List<String> bizId;

    /**
     * 排序字段
     */
    private String dir;
    /**
     * 是否升序
     */
    private Boolean asc;

    /**
     * @see SalesPlanStatusEnum
     */
    private Integer status;

    /**
     * @see SalesPlanStatusEnum
     */
    private List<Integer> statusList;

    /**
     * 是否调整
     */
    private Boolean adjust;
}
